package task_02;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/13 9:40
 * @description:
 */
public class CPrinter extends Printer {
public  void clean(){
  System.out.println("Canon clean");
}
  @Override
  public void open() {
    System.out.println("Canon打开");
  }

  @Override
  public void print() {
System.out.println("Canon打印");
  }

  @Override
  public void close() {
   clean();
  System.out.println("Canon关闭");
  }
}
